{# loaded from ::Layout.html.twig #}
<header>
	<div class="container header-bar">
		<div class="row">
            <div class="col-xs-6 header-user">
                {# Display connect button if user logged in #}
                {% if not app.user %}
                    <a class="btn-lg btn-default" href="{{ path('bxtr_login') }}" title="Connexion">Se connecter</a>
                {% else %}
                    {{ app.user.getUsername() }}
                {% endif %}
            </div>
            <div class="col-xs-6 header-cart">
                <div class="webshop">Panier (0) :0&euro;</div>
                <img class="webshop-icon" src="{{ asset('bundles/bxtrlayout/image/cart.png') }}" alt="Panier" />
            </div>
		</div>
	</div>
	<div class="container header-bottom">
		<div class="row">
            <h1>{{ header_title|default('Maquette Projet BooXtore') }}</h1>
		</div>
	</div>
</header>
